//
//  XMCameraNavigationController.m
//  XiaoMiao
//
//  Created by 23 on 2018/1/29.
//  Copyright © 2018年 smallyou. All rights reserved.
//

#import "XMCameraNavigationController.h"
#import "XMCameraController.h"
#import "XMAlbumScanController.h"

@interface XMCameraNavigationController ()

@end

@implementation XMCameraNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
{
    viewController.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"ic_common_arrow_back_black"] style:UIBarButtonItemStyleDone target:self action:@selector(actionBack)];
    [super pushViewController:viewController animated:animated];
}

- (void)actionBack
{
    [self popViewControllerAnimated:YES];
}

@end
